import request from '@/utils/request'

// 查询份额转让列表
export function listFundShareTransfer(query) {
  return request({
    url: '/transfer/fundShareTransfer/list',
    method: 'get',
    params: query
  })
}

// 查询份额转让详细
export function getFundShareTransfer(id) {
  return request({
    url: '/transfer/fundShareTransfer/' + id,
    method: 'get'
  })
}

// 保存份额转让
export function saveFundShareTransfer(data) {
  return request({
    url: '/transfer/fundShareTransfer/save',
    method: 'post',
    data: data
  })
}

// 删除份额转让
export function delFundShareTransfer(id) {
  return request({
    url: '/transfer/fundShareTransfer/' + id,
    method: 'delete'
  })
}

// 导出份额转让
export function exportFundShareTransfer(query) {
  return request({
    url: '/transfer/fundShareTransfer/export',
    method: 'get',
    params: query
  })
}
